(function(a){if(typeof exports=="object"&&typeof module=="object"){a(require("../../lib/codemirror"))}else{if(typeof define=="function"&&define.amd){define(["../../lib/codemirror"],a)}else{a(CodeMirror)}}})(function(a){var b={autoSelfClosers:{area:true,base:true,br:true,col:true,command:true,embed:true,frame:true,hr:true,img:true,input:true,keygen:true,link:true,meta:true,param:true,source:true,track:true,wbr:true,menuitem:true},implicitlyClosed:{dd:true,li:true,optgroup:true,option:true,p:true,rp:true,rt:true,tbody:true,td:true,tfoot:true,th:true,tr:true},contextGrabbers:{dd:{dd:true,dt:true},dt:{dd:true,dt:true},li:{li:true},option:{option:true,optgroup:true},optgroup:{optgroup:true},p:{address:true,article:true,aside:true,blockquote:true,dir:true,div:true,dl:true,fieldset:true,footer:true,form:true,h1:true,h2:true,h3:true,h4:true,h5:true,h6:true,header:true,hgroup:true,hr:true,menu:true,nav:true,ol:true,p:true,pre:true,section:true,table:true,ul:true},rp:{rp:true,rt:true},rt:{rp:true,rt:true},tbody:{tbody:true,tfoot:true},td:{td:true,th:true},tfoot:{tbody:true},th:{td:true,th:true},thead:{tbody:true,tfoot:true},tr:{tr:true}},doNotIndent:{pre:true},allowUnquoted:true,allowMissing:true,caseFold:true};var c={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:false,allowMissing:false,allowMissingTagName:false,caseFold:false};a.defineMode("xml",function(m,y){var r=m.indentUnit;var z={};var l=y.htmlMode?b:c;for(var f in l){z[f]=l[f]}for(var f in y){z[f]=y[f]}var g,h;function p(G,F){function D(H){F.tokenize=H;return H(G,F)}var E=G.next();if(E=="<"){if(G.eat("!")){if(G.eat("[")){if(G.match("CDATA[")){return D(x("atom","]]>"))}else{return null}}else{if(G.match("--")){return D(x("comment","-->"))}else{if(G.match("DOCTYPE",true,true)){G.eatWhile(/[\w\._\-]/);return D(A(1))}else{return null}}}}else{if(G.eat("?")){G.eatWhile(/[\w\._\-]/);F.tokenize=x("meta","?>");return"meta"}else{g=G.eat("/")?"closeTag":"openTag";F.tokenize=o;return"tag bracket"}}}else{if(E=="&"){var C;if(G.eat("#")){if(G.eat("x")){C=G.eatWhile(/[a-fA-F\d]/)&&G.eat(";")}else{C=G.eatWhile(/[\d]/)&&G.eat(";")}}else{C=G.eatWhile(/[\w\.\-:]/)&&G.eat(";")}return C?"atom":"error"}else{G.eatWhile(/[^&<]/);return null}}}p.isInText=true;function o(F,E){var D=F.next();if(D==">"||(D=="/"&&F.eat(">"))){E.tokenize=p;g=D==">"?"endTag":"selfcloseTag";return"tag bracket"}else{if(D=="="){g="equals";return null}else{if(D=="<"){E.tokenize=p;E.state=n;E.tagName=E.tagStart=null;var C=E.tokenize(F,E);return C?C+" tag error":"tag error"}else{if(/[\'\"]/.test(D)){E.tokenize=k(D);E.stringStartCol=F.column();return E.tokenize(F,E)}else{F.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/);return"word"}}}}}function k(C){var D=function(F,E){while(!F.eol()){if(F.next()==C){E.tokenize=o;break}}return"string"};D.isInAttribute=true;return D}function x(D,C){return function(F,E){while(!F.eol()){if(F.match(C)){E.tokenize=p;break}F.next()}return D}}function A(C){return function(F,E){var D;while((D=F.next())!=null){if(D=="<"){E.tokenize=A(C+1);return E.tokenize(F,E)}else{if(D==">"){if(C==1){E.tokenize=p;break}else{E.tokenize=A(C-1);return E.tokenize(F,E)}}}}return"meta"}}function t(D,C,E){this.prev=D.context;this.tagName=C;this.indent=D.indented;this.startOfLine=E;if(z.doNotIndent.hasOwnProperty(C)||(D.context&&D.context.noIndent)){this.noIndent=true}}function w(C){if(C.context){C.context=C.context.prev}}function s(E,D){var C;while(true){if(!E.context){return}C=E.context.tagName;if(!z.contextGrabbers.hasOwnProperty(C)||!z.contextGrabbers[C].hasOwnProperty(D)){return}w(E)}}function n(C,E,D){if(C=="openTag"){D.tagStart=E.column();return d}else{if(C=="closeTag"){return v}else{return n}}}function d(C,E,D){if(C=="word"){D.tagName=E.current();h="tag";return e}else{if(z.allowMissingTagName&&C=="endTag"){h="tag bracket";return e(C,E,D)}else{h="error";return d}}}function v(D,F,E){if(D=="word"){var C=F.current();if(E.context&&E.context.tagName!=C&&z.implicitlyClosed.hasOwnProperty(E.context.tagName)){w(E)}if((E.context&&E.context.tagName==C)||z.matchClosing===false){h="tag";return u}else{h="tag error";return B}}else{if(z.allowMissingTagName&&D=="endTag"){h="tag bracket";return u(D,F,E)}else{h="error";return B}}}function u(D,C,E){if(D!="endTag"){h="error";return u}w(E);return n}function B(C,E,D){h="error";return u(C,E,D)}function e(F,D,G){if(F=="word"){h="attribute";return j}else{if(F=="endTag"||F=="selfcloseTag"){var E=G.tagName,C=G.tagStart;G.tagName=G.tagStart=null;if(F=="selfcloseTag"||z.autoSelfClosers.hasOwnProperty(E)){s(G,E)}else{s(G,E);G.context=new t(G,E,C==G.indented)}return n}}h="error";return e}function j(C,E,D){if(C=="equals"){return q}if(!z.allowMissing){h="error"}return e(C,E,D)}function q(C,E,D){if(C=="string"){return i}if(C=="word"&&z.allowUnquoted){h="string";return e}h="error";return e(C,E,D)}function i(C,E,D){if(C=="string"){return i}return e(C,E,D)}return{startState:function(C){var D={tokenize:p,state:n,indented:C||0,tagName:null,tagStart:null,context:null};if(C!=null){D.baseIndent=C}return D},token:function(E,D){if(!D.tagName&&E.sol()){D.indented=E.indentation()}if(E.eatSpace()){return null}g=null;var C=D.tokenize(E,D);if((C||g)&&C!="comment"){h=null;D.state=D.state(g||C,E,D);if(h){C=h=="error"?C+" error":h}}return C},indent:function(H,D,G){var F=H.context;if(H.tokenize.isInAttribute){if(H.tagStart==H.indented){return H.stringStartCol+1}else{return H.indented+r}}if(F&&F.noIndent){return a.Pass}if(H.tokenize!=o&&H.tokenize!=p){return G?G.match(/^(\s*)/)[0].length:0}if(H.tagName){if(z.multilineTagIndentPastTag!==false){return H.tagStart+H.tagName.length+2}else{return H.tagStart+r*(z.multilineTagIndentFactor||1)}}if(z.alignCDATA&&/<!\[CDATA\[/.test(D)){return 0}var C=D&&/^<(\/)?([\w_:\.-]*)/.exec(D);if(C&&C[1]){while(F){if(F.tagName==C[2]){F=F.prev;break}else{if(z.implicitlyClosed.hasOwnProperty(F.tagName)){F=F.prev}else{break}}}}else{if(C){while(F){var E=z.contextGrabbers[F.tagName];if(E&&E.hasOwnProperty(C[2])){F=F.prev}else{break}}}}while(F&&F.prev&&!F.startOfLine){F=F.prev}if(F){return F.indent+r}else{return H.baseIndent||0}},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:z.htmlMode?"html":"xml",helperType:z.htmlMode?"html":"xml",skipAttribute:function(C){if(C.state==q){C.state=e}}}});a.defineMIME("text/xml","xml");a.defineMIME("application/xml","xml");if(!a.mimeModes.hasOwnProperty("text/html")){a.defineMIME("text/html",{name:"xml",htmlMode:true})}});(function(a){if(typeof exports=="object"&&typeof module=="object"){a(require("../../lib/codemirror"))}else{if(typeof define=="function"&&define.amd){define(["../../lib/codemirror"],a)}else{a(CodeMirror)}}})(function(a){a.defineMode("javascript",function(ak,aw){var o=ak.indentUnit;var E=aw.statementIndent;var aM=aw.jsonld;var D=aw.json||aM;var g=aw.typescript;var aH=aw.wordCharacters||/[\w$\xa1-\uffff]/;var aF=function(){function aZ(a3){return{type:a3,style:"keyword"}}var aW=aZ("keyword a"),a2=aZ("keyword b"),a1=aZ("keyword c"),a0=aZ("keyword d");var aX=aZ("operator"),aY={type:"atom",style:"atom"};return{"if":aZ("if"),"while":aW,"with":aW,"else":a2,"do":a2,"try":a2,"finally":a2,"return":a0,"break":a0,"continue":a0,"new":aZ("new"),"delete":a1,"void":a1,"throw":a1,"debugger":aZ("debugger"),"var":aZ("var"),"const":aZ("var"),let:aZ("var"),"function":aZ("function"),"catch":aZ("catch"),"for":aZ("for"),"switch":aZ("switch"),"case":aZ("case"),"default":aZ("default"),"in":aX,"typeof":aX,"instanceof":aX,"true":aY,"false":aY,"null":aY,"undefined":aY,"NaN":aY,"Infinity":aY,"this":aZ("this"),"class":aZ("class"),"super":aZ("atom"),yield:a1,"export":aZ("export"),"import":aZ("import"),"extends":a1,await:a1}}();var W=/[+\-*&%=<>!?|~^@]/;var aE=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function J(aZ){var aX=false,aW,aY=false;while((aW=aZ.next())!=null){if(!aX){if(aW=="/"&&!aY){return}if(aW=="["){aY=true}else{if(aY&&aW=="]"){aY=false}}}aX=!aX&&aW=="\\"}}var ab,K;function R(aY,aX,aW){ab=aY;K=aW;return aX}function ad(a0,aY){var aW=a0.next();if(aW=='"'||aW=="'"){aY.tokenize=aa(aW);return aY.tokenize(a0,aY)}else{if(aW=="."&&a0.match(/^\d+(?:[eE][+\-]?\d+)?/)){return R("number","number")}else{if(aW=="."&&a0.match("..")){return R("spread","meta")}else{if(/[\[\]{}\(\),;\:\.]/.test(aW)){return R(aW)}else{if(aW=="="&&a0.eat(">")){return R("=>","operator")}else{if(aW=="0"&&a0.eat(/x/i)){a0.eatWhile(/[\da-f]/i);return R("number","number")}else{if(aW=="0"&&a0.eat(/o/i)){a0.eatWhile(/[0-7]/i);return R("number","number")}else{if(aW=="0"&&a0.eat(/b/i)){a0.eatWhile(/[01]/i);return R("number","number")}else{if(/\d/.test(aW)){a0.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/);return R("number","number")}else{if(aW=="/"){if(a0.eat("*")){aY.tokenize=aL;return aL(a0,aY)}else{if(a0.eat("/")){a0.skipToEnd();return R("comment","comment")}else{if(aT(a0,aY,1)){J(a0);a0.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/);return R("regexp","string-2")}else{a0.eat("=");return R("operator","operator",a0.current())}}}}else{if(aW=="`"){aY.tokenize=aO;return aO(a0,aY)}else{if(aW=="#"){a0.skipToEnd();return R("error","error")}else{if(W.test(aW)){if(aW!=">"||!aY.lexical||aY.lexical.type!=">"){if(a0.eat("=")){if(aW=="!"||aW=="="){a0.eat("=")}}else{if(/[<>*+\-]/.test(aW)){a0.eat(aW);if(aW==">"){a0.eat(aW)}}}}return R("operator","operator",a0.current())}else{if(aH.test(aW)){a0.eatWhile(aH);var aZ=a0.current();if(aY.lastType!="."){if(aF.propertyIsEnumerable(aZ)){var aX=aF[aZ];return R(aX.type,aX.style,aZ)}if(aZ=="async"&&a0.match(/^(\s|\/\*.*?\*\/)*[\(\w]/,false)){return R("async","keyword",aZ)}}return R("variable","variable",aZ)}}}}}}}}}}}}}}}function aa(aW){return function(a0,aY){var aZ=false,aX;if(aM&&a0.peek()=="@"&&a0.match(aE)){aY.tokenize=ad;return R("jsonld-keyword","meta")}while((aX=a0.next())!=null){if(aX==aW&&!aZ){break}aZ=!aZ&&aX=="\\"}if(!aZ){aY.tokenize=ad}return R("string","string")}}function aL(aZ,aY){var aW=false,aX;while(aX=aZ.next()){if(aX=="/"&&aW){aY.tokenize=ad;break}aW=(aX=="*")}return R("comment","comment")}function aO(aZ,aX){var aY=false,aW;while((aW=aZ.next())!=null){if(!aY&&(aW=="`"||aW=="$"&&aZ.eat("{"))){aX.tokenize=ad;break}aY=!aY&&aW=="\\"}return R("quasi","string-2",aZ.current())}var p="([{}])";function aJ(a4,aY){if(aY.fatArrowAt){aY.fatArrowAt=null}var a3=a4.string.indexOf("=>",a4.start);if(a3<0){return}if(g){var a0=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(a4.string.slice(a4.start,a3));if(a0){a3=a0.index}}var a1=0,aZ=false;for(var a2=a3-1;a2>=0;--a2){var aW=a4.string.charAt(a2);var aX=p.indexOf(aW);if(aX>=0&&aX<3){if(!a1){++a2;break}if(--a1==0){if(aW=="("){aZ=true}break}}else{if(aX>=3&&aX<6){++a1}else{if(aH.test(aW)){aZ=true}else{if(/["'\/]/.test(aW)){return}else{if(aZ&&!a1){++a2;break}}}}}}if(aZ&&!a1){aY.fatArrowAt=a2}}var b={atom:true,number:true,variable:true,string:true,regexp:true,"this":true,"jsonld-keyword":true};function P(a1,aX,aW,a0,aY,aZ){this.indented=a1;this.column=aX;this.type=aW;this.prev=aY;this.info=aZ;if(a0!=null){this.align=a0}}function w(aZ,aY){for(var aX=aZ.localVars;aX;aX=aX.next){if(aX.name==aY){return true}}for(var aW=aZ.context;aW;aW=aW.prev){for(var aX=aW.vars;aX;aX=aX.next){if(aX.name==aY){return true}}}}function f(a0,aX,aW,aZ,a1){var a2=a0.cc;I.state=a0;I.stream=a1;I.marked=null,I.cc=a2;I.style=aX;if(!a0.lexical.hasOwnProperty("align")){a0.lexical.align=true}while(true){var aY=a2.length?a2.pop():D?aA:aS;if(aY(aW,aZ)){while(a2.length&&a2[a2.length-1].lex){a2.pop()()}if(I.marked){return I.marked}if(aW=="variable"&&w(a0,aZ)){return"variable-2"}return aX}}}var I={state:null,column:null,marked:null,cc:null};function al(){for(var aW=arguments.length-1;aW>=0;aW--){I.cc.push(arguments[aW])}}function aq(){al.apply(null,arguments);return true}function aI(aX){function aW(a0){for(var aZ=a0;aZ;aZ=aZ.next){if(aZ.name==aX){return true}}return false}var aY=I.state;I.marked="def";if(aY.context){if(aW(aY.localVars)){return}aY.localVars={name:aX,next:aY.localVars}}else{if(aW(aY.globalVars)){return}if(aw.globalVars){aY.globalVars={name:aX,next:aY.globalVars}}}}function ax(aW){return aW=="public"||aW=="private"||aW=="protected"||aW=="abstract"||aW=="readonly"}var u={name:"this",next:{name:"arguments"}};function A(){I.state.context={prev:I.state.context,vars:I.state.localVars};I.state.localVars=u}function B(){I.state.localVars=I.state.context.vars;I.state.context=I.state.context.prev}function aQ(aX,aY){var aW=function(){var a1=I.state,aZ=a1.indented;if(a1.lexical.type=="stat"){aZ=a1.lexical.indented}else{for(var a0=a1.lexical;a0&&a0.type==")"&&a0.align;a0=a0.prev){aZ=a0.indented}}a1.lexical=new P(aZ,I.stream.column(),aX,null,a1.lexical,aY)};aW.lex=true;return aW}function h(){var aW=I.state;if(aW.lexical.prev){if(aW.lexical.type==")"){aW.indented=aW.lexical.indented}aW.lexical=aW.lexical.prev}}h.lex=true;function v(aW){function aX(aY){if(aY==aW){return aq()}else{if(aW==";"){return al()}else{return aq(aX)}}}return aX}function aS(aW,aX){if(aW=="var"){return aq(aQ("vardef",aX.length),c,v(";"),h)}if(aW=="keyword a"){return aq(aQ("form"),aB,aS,h)}if(aW=="keyword b"){return aq(aQ("form"),aS,h)}if(aW=="keyword d"){return I.stream.match(/^\s*$/,false)?aq():aq(aQ("stat"),av,v(";"),h)}if(aW=="debugger"){return aq(v(";"))}if(aW=="{"){return aq(aQ("}"),C,h)}if(aW==";"){return aq()}if(aW=="if"){if(I.state.lexical.info=="else"&&I.state.cc[I.state.cc.length-1]==h){I.state.cc.pop()()}return aq(aQ("form"),aB,aS,h,d)}if(aW=="function"){return aq(S)}if(aW=="for"){return aq(aQ("form"),y,aS,h)}if(aW=="class"||(g&&aX=="interface")){I.marked="keyword";return aq(aQ("form"),ag,h)}if(aW=="variable"){if(g&&aX=="type"){I.marked="keyword";return aq(j,v("operator"),j,v(";"))}else{if(g&&aX=="declare"){I.marked="keyword";return aq(aS)}else{if(g&&(aX=="module"||aX=="enum")&&I.stream.match(/^\s*\w/,false)){I.marked="keyword";return aq(aQ("form"),i,v("{"),aQ("}"),C,h,h)}else{if(g&&aX=="namespace"){I.marked="keyword";return aq(aQ("form"),aA,C,h)}else{return aq(aQ("stat"),aU)}}}}}if(aW=="switch"){return aq(aQ("form"),aB,v("{"),aQ("}","switch"),C,h,h)}if(aW=="case"){return aq(aA,v(":"))}if(aW=="default"){return aq(v(":"))}if(aW=="catch"){return aq(aQ("form"),A,v("("),ap,v(")"),aS,h,B)}if(aW=="export"){return aq(aQ("stat"),aR,h)}if(aW=="import"){return aq(aQ("stat"),ar,h)}if(aW=="async"){return aq(aS)}if(aX=="@"){return aq(aA,aS)}return al(aQ("stat"),aA,v(";"),h)}function aA(aW,aX){return aj(aW,aX,false)}function aP(aW,aX){return aj(aW,aX,true)}function aB(aW){if(aW!="("){return al()}return aq(aQ(")"),aA,v(")"),h)}function aj(aX,aY,a0){if(I.state.fatArrowAt==I.stream.start){var aW=a0?T:ah;if(aX=="("){return aq(A,aQ(")"),aG(ap,")"),h,v("=>"),aW,B)}else{if(aX=="variable"){return al(A,i,v("=>"),aW,B)}}}var aZ=a0?k:am;if(b.hasOwnProperty(aX)){return aq(aZ)}if(aX=="function"){return aq(S,aZ)}if(aX=="class"||(g&&aY=="interface")){I.marked="keyword";return aq(aQ("form"),N,h)}if(aX=="keyword c"||aX=="async"){return aq(a0?aP:aA)}if(aX=="("){return aq(aQ(")"),av,v(")"),h,aZ)}if(aX=="operator"||aX=="spread"){return aq(a0?aP:aA)}if(aX=="["){return aq(aQ("]"),q,h,aZ)}if(aX=="{"){return aK(x,"}",null,aZ)}if(aX=="quasi"){return al(X,aZ)}if(aX=="new"){return aq(M(a0))}return aq()}function av(aW){if(aW.match(/[;\}\)\],]/)){return al()}return al(aA)}function am(aW,aX){if(aW==","){return aq(aA)}return k(aW,aX,false)}function k(aW,aY,a0){var aX=a0==false?am:k;var aZ=a0==false?aA:aP;if(aW=="=>"){return aq(A,a0?T:ah,B)}if(aW=="operator"){if(/\+\+|--/.test(aY)||g&&aY=="!"){return aq(aX)}if(g&&aY=="<"&&I.stream.match(/^([^>]|<.*?>)*>\s*\(/,false)){return aq(aQ(">"),aG(j,">"),h,aX)}if(aY=="?"){return aq(aA,v(":"),aZ)}return aq(aZ)}if(aW=="quasi"){return al(X,aX)}if(aW==";"){return}if(aW=="("){return aK(aP,")","call",aX)}if(aW=="."){return aq(ay,aX)}if(aW=="["){return aq(aQ("]"),av,v("]"),h,aX)}if(g&&aY=="as"){I.marked="keyword";return aq(j,aX)}if(aW=="regexp"){I.state.lastType=I.marked="operator";I.stream.backUp(I.stream.pos-I.stream.start-1);return aq(aZ)}}function X(aW,aX){if(aW!="quasi"){return al()}if(aX.slice(aX.length-2)!="${"){return aq(X)}return aq(aA,t)}function t(aW){if(aW=="}"){I.marked="string-2";I.state.tokenize=aO;return aq(X)}}function ah(aW){aJ(I.stream,I.state);return al(aW=="{"?aS:aA)}function T(aW){aJ(I.stream,I.state);return al(aW=="{"?aS:aP)}function M(aW){return function(aX){if(aX=="."){return aq(aW?r:af)}else{if(aX=="variable"&&g){return aq(e,aW?k:am)}else{return al(aW?aP:aA)}}}}function af(aW,aX){if(aX=="target"){I.marked="keyword";return aq(am)}}function r(aW,aX){if(aX=="target"){I.marked="keyword";return aq(k)}}function aU(aW){if(aW==":"){return aq(h,aS)}return al(am,v(";"),h)}function ay(aW){if(aW=="variable"){I.marked="property";return aq()}}function x(aX,aY){if(aX=="async"){I.marked="property";return aq(x)}else{if(aX=="variable"||I.style=="keyword"){I.marked="property";if(aY=="get"||aY=="set"){return aq(O)}var aW;if(g&&I.state.fatArrowAt==I.stream.start&&(aW=I.stream.match(/^\s*:\s*/,false))){I.state.fatArrowAt=I.stream.pos+aW[0].length}return aq(Q)}else{if(aX=="number"||aX=="string"){I.marked=aM?"property":(I.style+" property");return aq(Q)}else{if(aX=="jsonld-keyword"){return aq(Q)}else{if(g&&ax(aY)){I.marked="keyword";return aq(x)}else{if(aX=="["){return aq(aA,ac,v("]"),Q)}else{if(aX=="spread"){return aq(aP,Q)}else{if(aY=="*"){I.marked="keyword";return aq(x)}else{if(aX==":"){return al(Q)}}}}}}}}}}function O(aW){if(aW!="variable"){return al(Q)}I.marked="property";return aq(S)}function Q(aW){if(aW==":"){return aq(aP)}if(aW=="("){return al(S)}}function aG(aZ,aW,aX){function aY(a1,a2){if(aX?aX.indexOf(a1)>-1:a1==","){var a0=I.state.lexical;if(a0.info=="call"){a0.pos=(a0.pos||0)+1}return aq(function(a3,a4){if(a3==aW||a4==aW){return al()}return al(aZ)},aY)}if(a1==aW||a2==aW){return aq()}return aq(v(aW))}return function(a0,a1){if(a0==aW||a1==aW){return aq()}return al(aZ,aY)}}function aK(aZ,aW,aY){for(var aX=3;aX<arguments.length;aX++){I.cc.push(arguments[aX])}return aq(aQ(aW,aY),aG(aZ,aW),h)}function C(aW){if(aW=="}"){return aq()}return al(aS,C)}function ac(aW,aX){if(g){if(aW==":"){return aq(j)}if(aX=="?"){return aq(ac)}}}function U(aW){if(g&&aW==":"){if(I.stream.match(/^\s*\w+\s+is\b/,false)){return aq(aA,Y,j)}else{return aq(j)}}}function Y(aW,aX){if(aX=="is"){I.marked="keyword";return aq()}}function j(aW,aX){if(aW=="variable"||aX=="void"){if(aX=="keyof"){I.marked="keyword";return aq(j)}else{I.marked="type";return aq(L)}}if(aW=="string"||aW=="number"||aW=="atom"){return aq(L)}if(aW=="["){return aq(aQ("]"),aG(j,"]",","),h,L)}if(aW=="{"){return aq(aQ("}"),aG(az,"}",",;"),h,L)}if(aW=="("){return aq(aG(an,")"),Z)}}function Z(aW){if(aW=="=>"){return aq(j)}}function az(aW,aX){if(aW=="variable"||I.style=="keyword"){I.marked="property";return aq(az)}else{if(aX=="?"){return aq(az)}else{if(aW==":"){return aq(j)}else{if(aW=="["){return aq(aA,ac,v("]"),az)}}}}}function an(aW){if(aW=="variable"){return aq(an)}else{if(aW==":"){return aq(j)}}}function L(aW,aX){if(aX=="<"){return aq(aQ(">"),aG(j,">"),h,L)}if(aX=="|"||aW=="."){return aq(j)}if(aW=="["){return aq(v("]"),L)}if(aX=="extends"||aX=="implements"){I.marked="keyword";return aq(j)}}function e(aW,aX){if(aX=="<"){return aq(aQ(">"),aG(j,">"),h,L)}}function n(){return al(j,ae)}function ae(aW,aX){if(aX=="="){return aq(j)}}function c(){return al(i,ac,ao,ai)}function i(aW,aX){if(g&&ax(aX)){I.marked="keyword";return aq(i)}if(aW=="variable"){aI(aX);return aq()}if(aW=="spread"){return aq(i)}if(aW=="["){return aK(i,"]")}if(aW=="{"){return aK(aN,"}")}}function aN(aW,aX){if(aW=="variable"&&!I.stream.match(/^\s*:/,false)){aI(aX);return aq(ao)}if(aW=="variable"){I.marked="property"}if(aW=="spread"){return aq(i)}if(aW=="}"){return al()}return aq(v(":"),i,ao)}function ao(aW,aX){if(aX=="="){return aq(aP)}}function ai(aW){if(aW==","){return aq(c)}}function d(aW,aX){if(aW=="keyword b"&&aX=="else"){return aq(aQ("form","else"),aS,h)}}function y(aW){if(aW=="("){return aq(aQ(")"),H,v(")"),h)}}function H(aW){if(aW=="var"){return aq(c,v(";"),G)}if(aW==";"){return aq(G)}if(aW=="variable"){return aq(z)}return al(aA,v(";"),G)}function z(aW,aX){if(aX=="in"||aX=="of"){I.marked="keyword";return aq(aA)}return aq(am,G)}function G(aW,aX){if(aW==";"){return aq(F)}if(aX=="in"||aX=="of"){I.marked="keyword";return aq(aA)}return al(aA,v(";"),F)}function F(aW){if(aW!=")"){aq(aA)}}function S(aW,aX){if(aX=="*"){I.marked="keyword";return aq(S)}if(aW=="variable"){aI(aX);return aq(S)}if(aW=="("){return aq(A,aQ(")"),aG(ap,")"),h,U,aS,B)}if(g&&aX=="<"){return aq(aQ(">"),aG(n,">"),h,S)}}function ap(aW,aX){if(aX=="@"){aq(aA,ap)}if(aW=="spread"){return aq(ap)}if(g&&ax(aX)){I.marked="keyword";return aq(ap)}return al(i,ac,ao)}function N(aW,aX){if(aW=="variable"){return ag(aW,aX)}return V(aW,aX)}function ag(aW,aX){if(aW=="variable"){aI(aX);return aq(V)}}function V(aW,aX){if(aX=="<"){return aq(aQ(">"),aG(n,">"),h,V)}if(aX=="extends"||aX=="implements"||(g&&aW==",")){return aq(g?j:aA,V)}if(aW=="{"){return aq(aQ("}"),s,h)}}function s(aW,aX){if(aW=="async"||(aW=="variable"&&(aX=="static"||aX=="get"||aX=="set"||(g&&ax(aX)))&&I.stream.match(/^\s+[\w$\xa1-\uffff]/,false))){I.marked="keyword";return aq(s)}if(aW=="variable"||I.style=="keyword"){I.marked="property";return aq(g?aV:S,s)}if(aW=="["){return aq(aA,ac,v("]"),g?aV:S,s)}if(aX=="*"){I.marked="keyword";return aq(s)}if(aW==";"){return aq(s)}if(aW=="}"){return aq()}if(aX=="@"){return aq(aA,s)}}function aV(aW,aX){if(aX=="?"){return aq(aV)}if(aW==":"){return aq(j,ao)}if(aX=="="){return aq(aP)}return al(S)}function aR(aW,aX){if(aX=="*"){I.marked="keyword";return aq(au,v(";"))}if(aX=="default"){I.marked="keyword";return aq(aA,v(";"))}if(aW=="{"){return aq(aG(at,"}"),au,v(";"))}return al(aS)}function at(aW,aX){if(aX=="as"){I.marked="keyword";return aq(v("variable"))}if(aW=="variable"){return al(aP,at)}}function ar(aW){if(aW=="string"){return aq()}return al(aD,m,au)}function aD(aW,aX){if(aW=="{"){return aK(aD,"}")}if(aW=="variable"){aI(aX)}if(aX=="*"){I.marked="keyword"}return aq(l)}function m(aW){if(aW==","){return aq(aD,m)}}function l(aW,aX){if(aX=="as"){I.marked="keyword";return aq(aD)}}function au(aW,aX){if(aX=="from"){I.marked="keyword";return aq(aA)}}function q(aW){if(aW=="]"){return aq()}return al(aG(aP,"]"))}function aC(aX,aW){return aX.lastType=="operator"||aX.lastType==","||W.test(aW.charAt(0))||/[,.]/.test(aW.charAt(0))}function aT(aY,aX,aW){return aX.tokenize==ad&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(aX.lastType)||(aX.lastType=="quasi"&&/\{\s*$/.test(aY.string.slice(0,aY.pos-(aW||0))))}return{startState:function(aX){var aW={tokenize:ad,lastType:"sof",cc:[],lexical:new P((aX||0)-o,0,"block",false),localVars:aw.localVars,context:aw.localVars&&{vars:aw.localVars},indented:aX||0};if(aw.globalVars&&typeof aw.globalVars=="object"){aW.globalVars=aw.globalVars}return aW},token:function(aY,aX){if(aY.sol()){if(!aX.lexical.hasOwnProperty("align")){aX.lexical.align=false}aX.indented=aY.indentation();aJ(aY,aX)}if(aX.tokenize!=aL&&aY.eatSpace()){return null}var aW=aX.tokenize(aY,aX);if(ab=="comment"){return aW}aX.lastType=ab=="operator"&&(K=="++"||K=="--")?"incdec":ab;return f(aX,aW,ab,K,aY)},indent:function(aW,aZ){if(aW.tokenize==aL){return a.Pass}if(aW.tokenize!=ad){return 0}var a3=aZ&&aZ.charAt(0),a4=aW.lexical,a2;if(!/^\s*else\b/.test(aZ)){for(var aY=aW.cc.length-1;aY>=0;--aY){var a0=aW.cc[aY];if(a0==h){a4=a4.prev}else{if(a0!=d){break}}}}while((a4.type=="stat"||a4.type=="form")&&(a3=="}"||((a2=aW.cc[aW.cc.length-1])&&(a2==am||a2==k)&&!/^[,\.=+\-*:?[\(]/.test(aZ)))){a4=a4.prev}if(E&&a4.type==")"&&a4.prev.type=="stat"){a4=a4.prev}var a1=a4.type,aX=a3==a1;if(a1=="vardef"){return a4.indented+(aW.lastType=="operator"||aW.lastType==","?a4.info+1:0)}else{if(a1=="form"&&a3=="{"){return a4.indented}else{if(a1=="form"){return a4.indented+o}else{if(a1=="stat"){return a4.indented+(aC(aW,aZ)?E||o:0)}else{if(a4.info=="switch"&&!aX&&aw.doubleIndentSwitch!=false){return a4.indented+(/^(?:case|default)\b/.test(aZ)?o:2*o)}else{if(a4.align){return a4.column+(aX?0:1)}else{return a4.indented+(aX?0:o)}}}}}}},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:D?null:"/*",blockCommentEnd:D?null:"*/",blockCommentContinue:D?null:" * ",lineComment:D?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:D?"json":"javascript",jsonldMode:aM,jsonMode:D,expressionAllowed:aT,skipExpression:function(aW){var aX=aW.cc[aW.cc.length-1];if(aX==aA||aX==aP){aW.cc.pop()}}}});a.registerHelper("wordChars","javascript",/[\w$]/);a.defineMIME("text/javascript","javascript");a.defineMIME("text/ecmascript","javascript");a.defineMIME("application/javascript","javascript");a.defineMIME("application/x-javascript","javascript");a.defineMIME("application/ecmascript","javascript");a.defineMIME("application/json",{name:"javascript",json:true});a.defineMIME("application/x-json",{name:"javascript",json:true});a.defineMIME("application/ld+json",{name:"javascript",jsonld:true});a.defineMIME("text/typescript",{name:"javascript",typescript:true});a.defineMIME("application/typescript",{name:"javascript",typescript:true})});(function(a){if(typeof exports=="object"&&typeof module=="object"){a(require("../../lib/codemirror"))}else{if(typeof define=="function"&&define.amd){define(["../../lib/codemirror"],a)}else{a(CodeMirror)}}})(function(r){r.defineMode("css",function(Z,J){var D=J.inline;if(!J.propertyKeywords){J=r.resolveMode("text/css")}var Q=Z.indentUnit,A=J.tokenHooks,y=J.documentTypes||{},Y=J.mediaTypes||{},L=J.mediaFeatures||{},P=J.mediaValueKeywords||{},I=J.propertyKeywords||{},B=J.nonStandardPropertyKeywords||{},E=J.fontProperties||{},X=J.counterDescriptors||{},O=J.colorKeywords||{},T=J.valueKeywords||{},M=J.allowNested,S=J.lineComment,V=J.supportsAtComponent===true;var C,N;function aa(ad,ae){C=ae;return ad}function ac(ag,af){var ae=ag.next();if(A[ae]){var ad=A[ae](ag,af);if(ad!==false){return ad}}if(ae=="@"){ag.eatWhile(/[\w\\\-]/);return aa("def",ag.current())}else{if(ae=="="||(ae=="~"||ae=="|")&&ag.eat("=")){return aa(null,"compare")}else{if(ae=='"'||ae=="'"){af.tokenize=K(ae);return af.tokenize(ag,af)}else{if(ae=="#"){ag.eatWhile(/[\w\\\-]/);return aa("atom","hash")}else{if(ae=="!"){ag.match(/^\s*\w*/);return aa("keyword","important")}else{if(/\d/.test(ae)||ae=="."&&ag.eat(/\d/)){ag.eatWhile(/[\w.%]/);return aa("number","unit")}else{if(ae==="-"){if(/[\d.]/.test(ag.peek())){ag.eatWhile(/[\w.%]/);return aa("number","unit")}else{if(ag.match(/^-[\w\\\-]+/)){ag.eatWhile(/[\w\\\-]/);if(ag.match(/^\s*:/,false)){return aa("variable-2","variable-definition")}return aa("variable-2","variable")}else{if(ag.match(/^\w+-/)){return aa("meta","meta")}}}}else{if(/[,+>*\/]/.test(ae)){return aa(null,"select-op")}else{if(ae=="."&&ag.match(/^-?[_a-z][_a-z0-9-]*/i)){return aa("qualifier","qualifier")}else{if(/[:;{}\[\]\(\)]/.test(ae)){return aa(null,ae)}else{if(((ae=="u"||ae=="U")&&ag.match(/rl(-prefix)?\(/i))||((ae=="d"||ae=="D")&&ag.match("omain(",true,true))||((ae=="r"||ae=="R")&&ag.match("egexp(",true,true))){ag.backUp(1);af.tokenize=ab;return aa("property","word")}else{if(/[\w\\\-]/.test(ae)){ag.eatWhile(/[\w\\\-]/);return aa("property","word")}else{return aa(null,null)}}}}}}}}}}}}}function K(ad){return function(ah,af){var ag=false,ae;while((ae=ah.next())!=null){if(ae==ad&&!ag){if(ad==")"){ah.backUp(1)}break}ag=!ag&&ae=="\\"}if(ae==ad||!ag&&ad!=")"){af.tokenize=null}return aa("string","string")}}function ab(ae,ad){ae.next();if(!ae.match(/\s*[\"\')]/,false)){ad.tokenize=K(")")}else{ad.tokenize=null}return aa(null,"(")}function R(ae,ad,af){this.type=ae;this.indent=ad;this.prev=af}function G(af,ag,ae,ad){af.context=new R(ae,ag.indentation()+(ad===false?0:Q),af.context);return ae}function U(ad){if(ad.context.prev){ad.context=ad.context.prev}return ad.context.type}function z(ad,af,ae){return F[ae.context.type](ad,af,ae)}function W(ae,ag,af,ah){for(var ad=ah||1;ad>0;ad--){af.context=af.context.prev}return z(ae,ag,af)}function H(ae){var ad=ae.current().toLowerCase();if(T.hasOwnProperty(ad)){N="atom"}else{if(O.hasOwnProperty(ad)){N="keyword"}else{N="variable"}}}var F={};F.top=function(ad,af,ae){if(ad=="{"){return G(ae,af,"block")}else{if(ad=="}"&&ae.context.prev){return U(ae)}else{if(V&&/@component/i.test(ad)){return G(ae,af,"atComponentBlock")}else{if(/^@(-moz-)?document$/i.test(ad)){return G(ae,af,"documentTypes")}else{if(/^@(media|supports|(-moz-)?document|import)$/i.test(ad)){return G(ae,af,"atBlock")}else{if(/^@(font-face|counter-style)/i.test(ad)){ae.stateArg=ad;return"restricted_atBlock_before"}else{if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(ad)){return"keyframes"}else{if(ad&&ad.charAt(0)=="@"){return G(ae,af,"at")}else{if(ad=="hash"){N="builtin"}else{if(ad=="word"){N="tag"}else{if(ad=="variable-definition"){return"maybeprop"}else{if(ad=="interpolation"){return G(ae,af,"interpolation")}else{if(ad==":"){return"pseudo"}else{if(M&&ad=="("){return G(ae,af,"parens")}}}}}}}}}}}}}}return ae.context.type};F.block=function(ad,ag,ae){if(ad=="word"){var af=ag.current().toLowerCase();if(I.hasOwnProperty(af)){N="property";return"maybeprop"}else{if(B.hasOwnProperty(af)){N="string-2";return"maybeprop"}else{if(M){N=ag.match(/^\s*:(?:\s|$)/,false)?"property":"tag";return"block"}else{N+=" error";return"maybeprop"}}}}else{if(ad=="meta"){return"block"}else{if(!M&&(ad=="hash"||ad=="qualifier")){N="error";return"block"}else{return F.top(ad,ag,ae)}}}};F.maybeprop=function(ad,af,ae){if(ad==":"){return G(ae,af,"prop")}return z(ad,af,ae)};F.prop=function(ad,af,ae){if(ad==";"){return U(ae)}if(ad=="{"&&M){return G(ae,af,"propBlock")}if(ad=="}"||ad=="{"){return W(ad,af,ae)}if(ad=="("){return G(ae,af,"parens")}if(ad=="hash"&&!/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(af.current())){N+=" error"}else{if(ad=="word"){H(af)}else{if(ad=="interpolation"){return G(ae,af,"interpolation")}}}return"prop"};F.propBlock=function(ae,ad,af){if(ae=="}"){return U(af)}if(ae=="word"){N="property";return"maybeprop"}return af.context.type};F.parens=function(ad,af,ae){if(ad=="{"||ad=="}"){return W(ad,af,ae)}if(ad==")"){return U(ae)}if(ad=="("){return G(ae,af,"parens")}if(ad=="interpolation"){return G(ae,af,"interpolation")}if(ad=="word"){H(af)}return"parens"};F.pseudo=function(ad,af,ae){if(ad=="meta"){return"pseudo"}if(ad=="word"){N="variable-3";return ae.context.type}return z(ad,af,ae)};F.documentTypes=function(ad,af,ae){if(ad=="word"&&y.hasOwnProperty(af.current())){N="tag";return ae.context.type}else{return F.atBlock(ad,af,ae)}};F.atBlock=function(ad,ag,ae){if(ad=="("){return G(ae,ag,"atBlock_parens")}if(ad=="}"||ad==";"){return W(ad,ag,ae)}if(ad=="{"){return U(ae)&&G(ae,ag,M?"block":"top")}if(ad=="interpolation"){return G(ae,ag,"interpolation")}if(ad=="word"){var af=ag.current().toLowerCase();if(af=="only"||af=="not"||af=="and"||af=="or"){N="keyword"}else{if(Y.hasOwnProperty(af)){N="attribute"}else{if(L.hasOwnProperty(af)){N="property"}else{if(P.hasOwnProperty(af)){N="keyword"}else{if(I.hasOwnProperty(af)){N="property"}else{if(B.hasOwnProperty(af)){N="string-2"}else{if(T.hasOwnProperty(af)){N="atom"}else{if(O.hasOwnProperty(af)){N="keyword"}else{N="error"}}}}}}}}}return ae.context.type};F.atComponentBlock=function(ad,af,ae){if(ad=="}"){return W(ad,af,ae)}if(ad=="{"){return U(ae)&&G(ae,af,M?"block":"top",false)}if(ad=="word"){N="error"}return ae.context.type};F.atBlock_parens=function(ad,af,ae){if(ad==")"){return U(ae)}if(ad=="{"||ad=="}"){return W(ad,af,ae,2)}return F.atBlock(ad,af,ae)};F.restricted_atBlock_before=function(ad,af,ae){if(ad=="{"){return G(ae,af,"restricted_atBlock")}if(ad=="word"&&ae.stateArg=="@counter-style"){N="variable";return"restricted_atBlock_before"}return z(ad,af,ae)};F.restricted_atBlock=function(ad,af,ae){if(ad=="}"){ae.stateArg=null;return U(ae)}if(ad=="word"){if((ae.stateArg=="@font-face"&&!E.hasOwnProperty(af.current().toLowerCase()))||(ae.stateArg=="@counter-style"&&!X.hasOwnProperty(af.current().toLowerCase()))){N="error"}else{N="property"}return"maybeprop"}return"restricted_atBlock"};F.keyframes=function(ad,af,ae){if(ad=="word"){N="variable";return"keyframes"}if(ad=="{"){return G(ae,af,"top")}return z(ad,af,ae)};F.at=function(ad,af,ae){if(ad==";"){return U(ae)}if(ad=="{"||ad=="}"){return W(ad,af,ae)}if(ad=="word"){N="tag"}else{if(ad=="hash"){N="builtin"}}return"at"};F.interpolation=function(ad,af,ae){if(ad=="}"){return U(ae)}if(ad=="{"||ad==";"){return W(ad,af,ae)}if(ad=="word"){N="variable"}else{if(ad!="variable"&&ad!="("&&ad!=")"){N="error"}}return"interpolation"};return{startState:function(ad){return{tokenize:null,state:D?"block":"top",stateArg:null,context:new R(D?"block":"top",ad||0,null)}},token:function(af,ae){if(!ae.tokenize&&af.eatSpace()){return null}var ad=(ae.tokenize||ac)(af,ae);if(ad&&typeof ad=="object"){C=ad[1];ad=ad[0]}N=ad;if(C!="comment"){ae.state=F[ae.state](C,af,ae)}return N},indent:function(ah,af){var ae=ah.context,ag=af&&af.charAt(0);var ad=ae.indent;if(ae.type=="prop"&&(ag=="}"||ag==")")){ae=ae.prev}if(ae.prev){if(ag=="}"&&(ae.type=="block"||ae.type=="top"||ae.type=="interpolation"||ae.type=="restricted_atBlock")){ae=ae.prev;ad=ae.indent}else{if(ag==")"&&(ae.type=="parens"||ae.type=="atBlock_parens")||ag=="{"&&(ae.type=="at"||ae.type=="atBlock")){ad=Math.max(0,ae.indent-Q)}}}return ad},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:S,fold:"brace"}});function g(A){var z={};for(var y=0;y<A.length;++y){z[A[y].toLowerCase()]=true}return z}var k=["domain","regexp","url","url-prefix"],a=g(k);var b=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],v=g(b);var x=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],i=g(x);var l=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],p=g(l);var d=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],h=g(d);var n=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],e=g(n);var t=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],f=g(t);var q=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],u=g(q);var c=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],m=g(c);var j=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],s=g(j);var o=k.concat(b).concat(x).concat(l).concat(d).concat(n).concat(c).concat(j);r.registerHelper("hintWords","css",o);function w(B,A){var y=false,z;while((z=B.next())!=null){if(y&&z=="/"){A.tokenize=null;break}y=(z=="*")}return["comment","comment"]}r.defineMIME("text/css",{documentTypes:a,mediaTypes:v,mediaFeatures:i,mediaValueKeywords:p,propertyKeywords:h,nonStandardPropertyKeywords:e,fontProperties:f,counterDescriptors:u,colorKeywords:m,valueKeywords:s,tokenHooks:{"/":function(z,y){if(!z.eat("*")){return false}y.tokenize=w;return w(z,y)}},name:"css"});r.defineMIME("text/x-scss",{mediaTypes:v,mediaFeatures:i,mediaValueKeywords:p,propertyKeywords:h,nonStandardPropertyKeywords:e,colorKeywords:m,valueKeywords:s,fontProperties:f,allowNested:true,lineComment:"//",tokenHooks:{"/":function(z,y){if(z.eat("/")){z.skipToEnd();return["comment","comment"]}else{if(z.eat("*")){y.tokenize=w;return w(z,y)}else{return["operator","operator"]}}},":":function(y){if(y.match(/\s*\{/,false)){return[null,null]}return false},"$":function(y){y.match(/^[\w-]+/);if(y.match(/^\s*:/,false)){return["variable-2","variable-definition"]}return["variable-2","variable"]},"#":function(y){if(!y.eat("{")){return false}return[null,"interpolation"]}},name:"css",helperType:"scss"});r.defineMIME("text/x-less",{mediaTypes:v,mediaFeatures:i,mediaValueKeywords:p,propertyKeywords:h,nonStandardPropertyKeywords:e,colorKeywords:m,valueKeywords:s,fontProperties:f,allowNested:true,lineComment:"//",tokenHooks:{"/":function(z,y){if(z.eat("/")){z.skipToEnd();return["comment","comment"]}else{if(z.eat("*")){y.tokenize=w;return w(z,y)}else{return["operator","operator"]}}},"@":function(y){if(y.eat("{")){return[null,"interpolation"]}if(y.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,false)){return false}y.eatWhile(/[\w\\\-]/);if(y.match(/^\s*:/,false)){return["variable-2","variable-definition"]}return["variable-2","variable"]},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"});r.defineMIME("text/x-gss",{documentTypes:a,mediaTypes:v,mediaFeatures:i,propertyKeywords:h,nonStandardPropertyKeywords:e,fontProperties:f,counterDescriptors:u,colorKeywords:m,valueKeywords:s,supportsAtComponent:true,tokenHooks:{"/":function(z,y){if(!z.eat("*")){return false}y.tokenize=w;return w(z,y)}},name:"css",helperType:"gss"})});(function(a){if(typeof exports=="object"&&typeof module=="object"){a(require("../../lib/codemirror"),require("../xml/xml"),require("../javascript/javascript"),require("../css/css"))}else{if(typeof define=="function"&&define.amd){define(["../../lib/codemirror","../xml/xml","../javascript/javascript","../css/css"],a)}else{a(CodeMirror)}}})(function(d){var g={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};function f(n,j,k){var m=n.current(),l=m.search(j);if(l>-1){n.backUp(m.length-l)}else{if(m.match(/<\/?$/)){n.backUp(m.length);if(!n.match(j,false)){n.match(m)}}}return k}var e={};function c(j){var k=e[j];if(k){return k}return e[j]=new RegExp("\\s+"+j+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*")}function a(l,j){var k=l.match(c(j));return k?/^\s*(.*?)\s*$/.exec(k[2])[1]:""}function i(k,j){return new RegExp((j?"^":"")+"</s*"+k+"s*>","i")}function h(o,n){for(var j in o){var k=n[j]||(n[j]=[]);var m=o[j];for(var l=m.length-1;l>=0;l--){k.unshift(m[l])}}}function b(l,m){for(var k=0;k<l.length;k++){var j=l[k];if(!j[0]||j[1].test(a(m,j[0]))){return j[2]}}}d.defineMode("htmlmixed",function(k,o){var q=d.getMode(k,{name:"xml",htmlMode:true,multilineTagIndentFactor:o.multilineTagIndentFactor,multilineTagIndentPastTag:o.multilineTagIndentPastTag});var j={};var p=o&&o.tags,n=o&&o.scriptTypes;h(g,j);if(p){h(p,j)}if(n){for(var m=n.length-1;m>=0;m--){j.script.unshift(["type",n[m].matches,n[m].mode])}}function l(z,r){var s=q.token(z,r.htmlState),A=/\btag\b/.test(s),u;if(A&&!/[<>\s\/]/.test(z.current())&&(u=r.htmlState.tagName&&r.htmlState.tagName.toLowerCase())&&j.hasOwnProperty(u)){r.inTag=u+" "}else{if(r.inTag&&A&&/>$/.test(z.current())){var t=/^([\S]+) (.*)/.exec(r.inTag);r.inTag=null;var y=z.current()==">"&&b(j[t[1]],t[2]);var x=d.getMode(k,y);var w=i(t[1],true),v=i(t[1],false);r.token=function(C,B){if(C.match(w,false)){B.token=l;B.localState=B.localMode=null;return null}return f(C,v,B.localMode.token(C,B.localState))};r.localMode=x;r.localState=d.startState(x,q.indent(r.htmlState,""))}else{if(r.inTag){r.inTag+=z.current();if(z.eol()){r.inTag+=" "}}}}return s}return{startState:function(){var r=d.startState(q);return{token:l,inTag:null,localMode:null,localState:null,htmlState:r}},copyState:function(s){var r;if(s.localState){r=d.copyState(s.localMode,s.localState)}return{token:s.token,inTag:s.inTag,localMode:s.localMode,localState:r,htmlState:d.copyState(q,s.htmlState)}},token:function(s,r){return r.token(s,r)},indent:function(t,s,r){if(!t.localMode||/^\s*<\//.test(s)){return q.indent(t.htmlState,s)}else{if(t.localMode.indent){return t.localMode.indent(t.localState,s,r)}else{return d.Pass}}},innerMode:function(r){return{state:r.localState||r.htmlState,mode:r.localMode||q}}}},"xml","javascript","css");d.defineMIME("text/html","htmlmixed")});CodeMirror.defineMode("bbcodemixed",function(c){var f,e,g,d,h=CodeMirror.getMode(c,"htmlmixed"),b=CodeMirror.getMode(c,"bbcode"),f={bbCodeLiteral:"literal"};if(c.hasOwnProperty("bbCodeLiteral")){f.bbCodeLiteral=c.bbCodeLiteral}function a(i){return i.replace(/([\[\]\.\-\+\<\>\?\:\(\)\{\}])/g,"\\$1")}e={hasLeftDelimeter:/.*\[/,htmlHasLeftDelimeter:/[^\<\>]*\[/,literalOpen:new RegExp(a("["+f.bbCodeLiteral+"]")),literalClose:new RegExp(a("[/"+f.bbCodeLiteral+"]"))};g={chain:function(j,i,k){i.tokenize=k;return k(j,i)},cleanChain:function(j,i,k){i.tokenize=null;i.localState=null;i.localMode=null;return(typeof k=="string")?(k?k:null):k(j,i)},maybeBackup:function(o,j,k){j=a(j);var n=o.current();var l=n.search(j),i;if(l>-1){o.backUp(n.length-l)}else{if(i=n.match(/<\/?$/)){o.backUp(n.length);if(!o.match(j,false)){o.match(n[0])}}}return k}};d={html:function(j,i){if(!i.inLiteral&&j.match(e.htmlHasLeftDelimeter,false)&&i.htmlMixedState.htmlState.tagName===null){i.tokenize=d.bbcode;i.localMode=b;i.localState=b.startState(h.indent(i.htmlMixedState,""));return g.maybeBackup(j,"[",b.token(j,i.localState))}else{if(!i.inLiteral&&j.match("[",false)){i.tokenize=d.bbcode;i.localMode=b;i.localState=b.startState(h.indent(i.htmlMixedState,""));return g.maybeBackup(j,"[",b.token(j,i.localState))}}return h.token(j,i.htmlMixedState)},bbcode:function(j,i){if(j.match("]",false)){j.eat("]");i.tokenize=d.html;i.localMode=h;i.localState=i.htmlMixedState;return"tag"}return g.maybeBackup(j,"]",b.token(j,i.localState))},inBlock:function(j,i){return function(l,k){while(!l.eol()){if(l.match(i)){g.cleanChain(l,k,"");break}l.next()}return j}}};return{startState:function(){var i=h.startState();return{token:d.html,localMode:null,localState:null,htmlMixedState:i,tokenize:null,inLiteral:false}},copyState:function(k){var j=null,i=(k.tokenize||k.token);if(k.localState){j=CodeMirror.copyState((i!=d.html?b:h),k.localState)}return{token:k.token,tokenize:k.tokenize,localMode:k.localMode,localState:j,htmlMixedState:CodeMirror.copyState(h,k.htmlMixedState),inLiteral:k.inLiteral}},token:function(k,j){if(k.match("[",false)){if(!j.inLiteral&&k.match(e.literalOpen,true)){j.inLiteral=true;return"keyword"}else{if(j.inLiteral&&k.match(e.literalClose,true)){j.inLiteral=false;return"keyword"}}}if(j.inLiteral&&j.localState!=j.htmlMixedState){j.tokenize=d.html;j.localMode=h;j.localState=j.htmlMixedState}var i=(j.tokenize||j.token)(k,j);return i},indent:function(j,i){if(j.localMode==b||(j.inLiteral&&!j.localMode)||e.hasLeftDelimeter.test(i)){return CodeMirror.Pass}return h.indent(j.htmlMixedState,i)},innerMode:function(i){return{state:i.localState||i.htmlMixedState,mode:i.localMode||h}}}},"xml","javascript","css");CodeMirror.defineMIME("text/x-bbcode","bbcodemixed");